export const setCatalogList = (state, catalogList) => {
  state.catalogList = catalogList
}

export const showShare = (state, link) => {
  state.shareShow = true
  state.shareLink = link
}

export const hideShare = (state) => {
  state.shareShow = false
  state.shareLink = ''
}

export const setLoading = (state, loading) => {
  state.loading = loading
}
